﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfLogin.aspx.cs" Inherits="wfCompras.WfLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .content_form_login
        {
            position: absolute;
            width: 400px;
            height: 260px;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -130px;
        }
        .form_cab_login
        {
            background: url('Images/Logos/Headermsg.png');
            width: 400px;
            height: 35px;
            padding: 9px 0px;
        }
        .form_body_login
        {
            background: #5171a5;
            padding: 0px 3px;
        }
        .table_body_form
        {
            background: #fff;
            width: 394px;
            height: 75%;
        }
        .form_pie_login
        {
            background: url('Images/Logos/piemsg.png');
            width: 400px;
            height: 19px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div class="content_form_login">
            <div class="form_cab_login">
                &nbsp;<img alt="Login" src="Images/Logos/Logo.png" />
            </div>
            <div class="form_body_login">
                <table class="table_body_form">
                    <tr>
                        <td style="width: 54px;">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td colspan="2">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 54px;">
                            &nbsp;
                        </td>
                        <td class="style4">
                            <asp:Label ID="Label2" runat="server">Usuario:</asp:Label>
                        </td>
                        <td colspan="2">
                            <asp:TextBox ID="txtUsername" runat="server" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="val1" runat="server" 
                                ControlToValidate="txtUsername" ErrorMessage="*" ForeColor="Red" 
                                ValidationGroup="validatelogin">*</asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 54px;">
                            &nbsp;
                        </td>
                        <td class="style4">
                            <asp:Label ID="Label3" runat="server">Contraseña:</asp:Label>
                        </td>
                        <td colspan="2">
                            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="val2" runat="server" 
                                ControlToValidate="txtPassword" ErrorMessage="*" ForeColor="Red" 
                                ValidationGroup="validatelogin">*</asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style2" colspan="5" style="text-align: center">
                            <asp:Label ID="errorLabel" runat="server" Font-Size="Small" ForeColor="#FF3300"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 54px;">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="bttLogin" runat="server" class="buttom_login" 
                                onclick="bttLogin_Click" Text="Aceptar" ValidationGroup="validatelogin" />
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 54px;">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td colspan="2">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            <div class="form_pie_login">
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>
